package com.spsoft.vatoutinv.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.spsoft.vatoutinv.entity.vmsmanualinvoice.VmsManualBase;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spsoft.vatoutinv.model.dto.vmsmanualinvoice.VmsManualPageDto;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 手工开票临时表-主表 Mapper 接口
 * </p>
 *
 * @author chenxudong
 * @since 2023-11-30
 */
public interface VmsManualBaseMapper extends BaseMapper<VmsManualBase> {

    @Select("SELECT SEQ_VMS_MANUAL_BASE.NEXTVAL FROM DUAL")
    Long getNextSequenceValue();

    IPage<VmsManualBase> queryBaseInfo(Page<VmsManualBase> page, Long applyId);
}
